package com.web.callcenter.struts.form;

import java.util.Date;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class KnowledgeForm extends ActionForm {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer id;
    private String categoryId;
    private String classId;
    private String title;
    private String content;
    private Date addDateTime;

	/** 
	 * Method validate
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		return null;
	}

	/** 
	 * Method reset
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
	}

	   public Integer getId() {
	        return this.id;
	    }
	    
	    public void setId(Integer id) {
	        this.id = id;
	    }

	    public String getCategoryId() {
	        return this.categoryId;
	    }
	    
	    public void setCategoryId(String categoryId) {
	        this.categoryId = categoryId;
	    }

	    public String getClassId() {
	        return this.classId;
	    }
	    
	    public void setClassId(String classId) {
	        this.classId = classId;
	    }

	    public String getTitle() {
	        return this.title;
	    }
	    
	    public void setTitle(String title) {
	        this.title = title;
	    }

	    public String getContent() {
	        return this.content;
	    }
	    
	    public void setContent(String content) {
	        this.content = content;
	    }

	    public Date getAddDateTime() {
	        return this.addDateTime;
	    }
	    
	    public void setAddDateTime(Date addDateTime) {
	        this.addDateTime = addDateTime;
	    }
	   
}
